From 94f37ae0dea684be434e5f23879a8fd3db55e0f3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 26 Apr 2011 00:23:56 -0700 Subject: [PATCH] * gnutls.c (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *. --- src/ChangeLog | 1 + src/gnutls.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d89af61aee5..42020c288e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -6,6 +6,7 @@ needed for one caller, Fgnutls_boot. (emacs_gnutls_read): Do that check. This is the other caller. (emacs_gnutls_handle_error): Remove unused local. + (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *. lisp.h: Fix a problem with aliasing and vector headers. GCC 4.6.0 optimizes based on type-based alias analysis. For diff --git a/src/gnutls.c b/src/gnutls.c index 30d7a0c531b..9b8e501b1fd 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -463,7 +463,7 @@ one trustfile (usually a CA bundle). */) Lisp_Object global_init; char const *priority_string_ptr = "NORMAL"; /* default priority string. */ Lisp_Object tail; - int peer_verification; + unsigned int peer_verification; char* c_hostname; /* Placeholders for the property list elements. */ -- 2.30.2